package com.brainardphotography.blog.auth;

import com.google.appengine.api.users.User;

public class BlogUser {
	private User user;
	
	public BlogUser(User user) {
		this.user = user;
	}
	
	public boolean isAdmin() {
		return "dorkymusician@gmail.com".equals(user.getEmail().toLowerCase());
	}

	public String getAuthDomain() {
		return user.getAuthDomain();
	}

	public String getEmail() {
		return user.getEmail();
	}

	public String getFederatedIdentity() {
		return user.getFederatedIdentity();
	}

	public String getNickname() {
		return user.getNickname();
	}

	public String getUserId() {
		return user.getUserId();
	}
	
	
}
